package com.yixiang.np.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
//所有首页免登陆页面地址
@Controller
@RequestMapping("/main")
public class MainController extends BaseController {

    //样例
    @RequestMapping("/notice")
    public String notice() {
        return "/admin/noticeMain";
    }

    @RequestMapping("/test")
    @ResponseBody
    public void test(String url) {
        System.out.print(url);
    }

}
